package com.cssw.fyzb.busi.service.exchange;

import com.cssw.fyzb.core.dao.exchange.GExchangeFDefDao;
import com.cssw.fyzb.core.model.dodb.GExchangeFDef;
import com.ydn.dbframe.plugin.activerecord.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class GExchangeFDefServiceImpl implements  GExchangeFDefService{
    @Autowired
    private GExchangeFDefDao gExchangeFDefDao;

    @Override
    public Page<GExchangeFDef> list(){
        Map param = new HashMap<>();
        return gExchangeFDefDao.getAllDef(param,1,10);
    }
}

